package com.sky.business.sys.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class OnvifMoveParam extends OnvifParam{

    @Schema(description = "速度 0-1")
    @NotNull(message = "速度不能为空")
    private float speed;

    @Schema(description = "水平移动 左：-1 不动：0 右：1")
    @NotNull(message = "水平移动不能为空")
    private int pan;

    @Schema(description = "垂直移动 上：-1 不动：0 下： 1")
    @NotNull(message = "垂直移动不能为空")
    private int tilt;

    @Schema(description = "焦距 缩小：-1 不动：0 放大：1")
    @NotNull(message = "焦距缩放不能为空")
    private int zoom;
}
